just to share with those who's using JW Player for their Youtube video and wanted to use their own skin instead of the default one.
file: emfield/contrib/emvideo/providers/youtube.inc
line: 475
change to:
PS: remember to change '/path_to_your_skin' to your actual path. e.g. /player/skin.swf
Comments
Comment #1
CinemaSaville commentedI don't see that line of code in that file. Line 475 has something else on it. Can you post the whole code here with the changes? Thanks
Comment #2
sadist commentedit was version 'youtube.inc,v 1.1.2.40 2009/10/05 19:05:10' that i'm using.
Comment #3
aaron commentedFirstly, *NEVER* modify the include file itself; it's a theme function (theme_emvideo_youtube_flash), which you can override normally (see http://drupal.org/theme-guide/6). Secondly, if you use the FLV Media Player module in conjunction with this, you can also set a profile to use, where you can control the skin administratively, as well as other options. Just set up a profile in FLV Media Player, then go to the Emfield adminstration page and select the "FLV Media Player Profile" from the drop-down near the top of the page.
Comment #4
sadist commentedAaron, thanks.
I am using SWFTools which doesn't integrate with Emfield nicely to use the skin. But the FLV Media Player seems interesting, will check it out.
Comment #5
aaron commentedThe FLV Media Player also uses SWF Object (in fact is dependent on it), so your solution will be compatible.
Comment #6
Eugene Fidelin commentedsubscribe for http://drupal.org/node/604860#comment-2156894 as the easiest solve
Comment #8
Anonymous (not verified) commentedVery happy with this profile integration!